Mention setsid after vfork.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Thu, 17 Jul 2008 09:07:06 +0000 (09:07 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Thu, 17 Jul 2008 09:07:06 +0000 (09:07 +0000)
src/s/darwin.h

index 2017bd2e6cf7dde8f18fc7a96175a05816a08893..5ec850d44722c4a99c658423bac39ed9f8962dbe 100644 (file)
@@ -337,7 +337,8 @@ Boston, MA 02110-1301, USA.  */
 
 /* The following solves the problem that Emacs hangs when evaluating
    (make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile
-   does not exist.  */
+   does not exist.  Also, setsid is not allowed in the vfork child's
+   context as of Darwin 9/Mac OS X 10.5.  */
 #undef HAVE_WORKING_VFORK
 #define vfork fork